writing tests for receiver