add test for duplicate fields in DB
set associated data in Order model
refactor import class to use Order#data