Unit-tests have been added for ROCK algorithm