NHRepository Tests