correct test to former behaviour as found in master.
fix action_has_layout? test.