test target: add test for target and terminals