add InstanceExpectation spec
InstanceExpectation bugfixed