fix tests for instance