made members of Repository private and improved tests