Added code & tests for basic request validator