testing layout functionality