added tests for the new 'draft' option kindly added by richardmansfield