tests and new method