run_tests_if_main() better selection of objects to run

Also run in predetermined order, helps when re-running tests