setUp and tearDown accept callback