Some refactorings to tests. FileSystem JavaSourceRepository implementation.