Improving test makefile and main

Now tests are using the lib