put repo delete mark in class instance var
check if onto is imported externally when destroying
add tests for repository deletion