added dependencies for test build

test routine now has library as a dependency