Tests refactored, introduced new base class for JCR test cases