Add unit tests for Layout.{find,all}.