Raise TypeError instead of ValueError if invalid object is passed to DictRegister
Tests fixed to use TypeError intead of ValueError
Merge branch 'feature/joshgeller-raise-typeerror-fix' into develop