Fix instance tests