Add some tests for Layout laws.