utils and test for support