A test environment for Angularjs