two tests for frontend