fixing copying py file for tests
fixed error report to ctest from py file
enable testing in CI