Fix testobjects when releasing