fix undefined test test