simplify rspec code and add correct link to homepage in header