Cleaning the tests for JCR