#397 [Hugo, Emily] started writing tests for the angular code