Fix a syntax error.
Add test for hooked access hook implementation.