Unit tests

The existing unit tests functioned more like integration tests and required starting a full instance of fcrepo and fuseki. This change refactored the unit tests to behave like actual unit tests. This also increases the test coverage of the code.