tests and new APIs