WORDS-364: refactor unit tests for Assertions.java class