#16 - adding tests for this feature
#16 - enviroment now inside request
#16 - cleaning DB before each test
Merge pull request #18 from thoughtworks/task16

#16 - modified model and fixed all tests to include environment inside request