tests implemented for handlers