Moved instance specific tests to package in preparation of a stack package. Added test_type_selection collection of tests.