[TASK] Enhance test for analyze command - closes #9