My own implementation of https://github.com/taydakov/nodetest1