shorten long method name, get tests for error detection and exceptions working