fill out tests, enable :where clause and PUT param handling