remove mock.c from build
allow arg|printf in templates
remove test build directory on spec rebuild
improve test run output
print message on test segfault
implement test mocking framework
remove random glGetError