updated facility model tests and fixed model tests