Added more tests, fixed bug in memory copy construction. Can now compile and run kernels and retrieve results.