added unit tests for often used functions
testing helper classes with unit tests