reverted some of the changes, because they make no sense
the repository test currently does not make any sense and will always fail, so removed for now