add some tests for the base Handler class