wrote service tests. need to do directive and props tests next