adds test, 100% coverage