Extract setup hooks to constant

To follow in teardown's footsteps