tests and fast utils