added frontend tests