repository: refactoring tests
repository: basic NIB structure