fix library reference path in sample project, remove redundant build settings from test target