enhanced repository test