adds working unit tests for homepage