explicitely add json content type to tests
remove trailing whitespaces
fixes #2 - advanced filtering method