Added the link to the tests library (still need to improve cmake)