unit tests for StaticParseMethod, reuse refactoring there