Example of unit testing in Angular