more tests, jshinted, catch empty parameter=value pairs better