test: Remove obsolete codes