Adds a real test for querying for a model
Adds mysql config for travis