fix search phpunit tests
fix admin mocha tests
fix blog mocha tests