changed test_CTA.cpp, which now creates a GModelSpectralPlaw pointer