Improved frontend tests.