udpated setUp and tearDown method templates to take parent method into account