tests and new exception