fixed angular unit tests