Removed warning from commandfactorytest. Uncommented some working tests.