adding block routines to test view