adding testing to algorigthms and a little angular app