updated test class instance case