Templates compilation fixed, tests lauching fixed, sinon support added