fixes unit test on command