Java Utils for easy testing and code coverage