fixed a spec, added destruction method to object creation in specs