helper unit tests