added end-to-end tests
first test passes
working v1, in sails