tests: create unit test to check commenting in state machines.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>