Added SQL Repository Tests