a front-end test from scratch