adapted frontendtests to new agora.js