updated test to get instances right.