added tests. Temporaly commit 25.11.2013 03:30
Now classes are in packages
Merge pull request #1 from tp-java/master

sync