old test command version
fix value checking