update per comments using hamcrest matchers instead of regular assert