setup frontend test environment