Trailing comma
Fixed config member
Set up test suite
Added tests for query layer