Moved setup and teardown methods under UIViewController methods