Yet another fix for travis errors

- Modified the command lines for tests without Mock objects.