Unit tests for request inspection