unit test for compute unit