Adding JUnit tests (VYSPER-215, by Bogdan Pistol) Fixing bug with the hold attribute (VYSPER-216, by Bogdan Pistol)