migration command for invocation to whitemagic
full unit test of command with mockup