tests for instances