[test] expose constructor normally