Various Angular.js tests