BUG: Use generator expression to specify test targets

Fixes tests not running with extension build

Change-Id: Ic049d254c7e4249fc0ce947212e9bd598e7b6626
Merge pull request #167 from chrismullins/specify-test-target-with-generator-expression

BUG: Use generator expression to specify test targets