Adapted stringmatch to work on new database, wrote specs for it