Add tests to static factories