Made Template not assignable

And cleaned up the Makefile of the tests