unit testing mapping