Fixing unit tests for train and created unit test for mutation.