updated tests to match book
does not throw tests
test arguments