improve testFacade - make compatible with other examples