added unittests (w/o test images)