fixed default to VM behavior and added tests.

toVms now default from all keys to default keys as one would expect.