added unit tests for mongooseRead

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>