Use 'be_an_instance_of' in the unit tests