adapted unit tests to work in cloud9