fixed spec, added example in readme