Standalone test for static factory