Fix #1277: Add test for facades with val/var ctor params