added logging for current persistence test case
added tests for uniqueness in categories