Test custom repository