Add more ref/unref tests for context/platform/device wrappers

Tests passing in both real and stub OCL implementations. No leaks
detected when testing with OCL stub.