[frontend-fixs] PHPUnit test fixes