cleaned up use_cassette duplication in test suite by using contextmanager generator. Modified duplicate create record test to ensure the length of the records created is 1.
cleaned up use_cassette duplication in test suite by using contextmanager generator. Modified duplicate create record test to ensure the length of the records created is 1.

AnalogJ/lexicon,tnwhitwell/lexicon,AnalogJ/lexicon,tnwhitwell/lexicon