Added unittest functionality in Makefile. Unittest are written in tests/unittests/*.h and are build with make unittest