Move lib tests to autoconf structure
Add TestPath helper class