Code for Angular workshops in unit testing