Add some basic tests for the hooked access callback.