Fixed compatibility with 13.1 EAP. Added hamcrest library to run tests with JUnit 4.11