Closes #496

Added basic tests on migrationvalidator, were missing