add frontend tests