Added layout tests
Created helper method for content tests