fix and tests for South migrations support