PHPUnit Tests for Mahara