* reformatted code
* added Google Guava
* fixed wrong usage of exceptions in unit tests