remod unittests
	modified:   lib/remod.py
	new file:   tests/remod.py