Test environment for Angularjs