Remove the cobra dependency from the test and rename test classes.