Added smoketests for variable layout.