added unit tests for receiver handlers