Add tests for functions accepting / returning const types.