test_misc.py: Moved TestCaseMock out of test case
test_misc.py: Added TestAssertIsPartOf class and fixed assert_is_part_of()