Add ert to load-path  in makefile
Fix unit test