Added test case for unit creation command.