basic implementation of of test command