added tests for homepage