add test, up to 97% coverage