refactor spec
Added specs for layout links