test_misc.py: Added more tests