(fix) fix newlines and improved homepage tests

fixes #5