Added follows? test for Migration class.
Wrote tests for migration algorithm and added some documentation.