Add complex handler in parse type

and tests to increase coverage