Revert "Revert "add test""

This reverts commit 617fc3b9b3102c9d228810e319ec341616f23901.
Revert "add test"

This reverts commit be2e888d4b3077ff7e1a91a02bd8476d7c087608.