Add TEST_ASSERT and CHECK_OPENCL_ERROR_IN macros

- assert() from assert.h is not very good for tests,
  since it depends on NDEBUG macro
- replace all assert uses in runtime tests with TEST_ASSERT