6913ee2d8d
Import directly redirects to the record - previous version was buggy and worked completely by chance. In addition, this commit adds extensive tests around importing a record via use of mocks.