adding simple unit tests for gpu correctness