refactor test cases to work without libraries that depend on 1.2