Added tests for front-end