added front-end test, do ./testFrontend.sh