TRIVIAL tests
Revert "TRIVIAL tests"

This reverts commit 4bb10f51cc9b4544c666e2f5c34ca7925b8dd082.
TRIVIAL close: handling invalid handle
TRIVIAL close: handling invalid handle