Added consumer tests