Added unit tests for ObjectToFieldHandler