tests for the front-end