Import tests are passing, but the code needs work

This implementation is by no means correct.