Change error instance implementation to match == instances, or classes

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Add some specs for fixed instance raise_error behaviour

Signed-off-by: Sam Phippen <samphippen@googlemail.com>