finished front-end unit tests