fix tests for homepage