Add new tests for context, kernel and queue wrappers