change test target to lib