Create before snippet for minitest.