Rewrite test with ERT(#2)

And remove old test
Add Makefile for unit test(#2)