refactor unit test with cljx library