Revert "Revert "add test""

This reverts commit d533494a89c0e99bdbf43bd22d01f7dd2ecc71ee.
Revert "Revert "Revert "add test"""

This reverts commit b7adb1c26c957ecdc1a7e48b9fe3cbcfc97e92f9.