+
+ test "validate options":
+ let invalidOptions = to_table({"musicOnly": true, "feelingLucky": false, "fullScreen": true, "download": false})
+ check(not isValidOptions(invalidOptions))
+ let validOptions = to_table({"musicOnly": false, "feelingLucky": true, "fullScreen": true, "download": true})
+ check(isValidOptions(validOptions))