consider using separate tests for constructor and valueOf method usage.