Replace unnecessary BaseMargarineTest with unittest.