Testing with angular js