Revert "Revert "test function""

This reverts commit 0de48d6eec23607f3993febf69100c191da1c6e9.