Add test case for non-function values serialized by --strict (#343)
Fix warning