refactor test code
implement converter for #(), for #2