Fixed "TypeError: Object [object Object] has no method 'beginTest' (missed in refactor)