remove docs & before do in tests