cover cases in #layer test