Remove obsolete unittest function