DDF-641: Added unit test to verify handler functionality.