sml: add flags class to mock model factory
sml: fix a number of mock factory instances that were not using flags
sml: start adding property indexer unit tests and fixing factory