fixed deleting non-existing files; installing tests