better exception handling for tomagickColor and more tests