add a test target and test dependencies