more tests and 'commandSync'