Adding command to copy testify command for current file.

Also, some minor code cleanup.