Completed fix issue #44; repair tests for JDK==1.6

Also, in project have a tests.
![2013-03-21-121955_1680x1050_scrot](https://f.cloud.github.com/assets/16043/284813/67cf620e-9200-11e2-941d-3dfd6528836c.png)