Added more tests for compute-hooks