Flag unkown CMD input, move putnl to TESTLIB