completed layout exercies - refactored rspec tests