Add libreset dependency to the test program's build

This PR enables users to run tests without having a complete build beforehand.
Solves issue #94.