adding unit tests
mend