Can now call the tests for any dir, not just the build dir.
Added skeleton for statistics
Fixed some errors in KernelWrapper and added skeletons for more functions