starting some facility module scope tests
brought in some preliminary stuff from typeandpopulate