diff --git a/JsonGeneratorTests/JsonGeneratorTests.vcxproj b/JsonGeneratorTests/JsonGeneratorTests.vcxproj
index ba710d13..cab05127 100644
--- a/JsonGeneratorTests/JsonGeneratorTests.vcxproj
+++ b/JsonGeneratorTests/JsonGeneratorTests.vcxproj
@@ -88,6 +88,7 @@
+
diff --git a/JsonGeneratorTests/JsonGeneratorTests.vcxproj.filters b/JsonGeneratorTests/JsonGeneratorTests.vcxproj.filters
index 7fadcc46..791ad5b5 100644
--- a/JsonGeneratorTests/JsonGeneratorTests.vcxproj.filters
+++ b/JsonGeneratorTests/JsonGeneratorTests.vcxproj.filters
@@ -33,5 +33,8 @@
Source Files
+
+ Source Files
+
\ No newline at end of file
diff --git a/JsonGeneratorTests/JsonValue_Cast_Tests.cpp b/JsonGeneratorTests/JsonValue_Cast_Tests.cpp
new file mode 100644
index 00000000..30e791d2
--- /dev/null
+++ b/JsonGeneratorTests/JsonValue_Cast_Tests.cpp
@@ -0,0 +1,36 @@
+/*
+* Arduino JSON library
+* Benoit Blanchon 2014 - MIT License
+*/
+
+#include "CppUnitTest.h"
+#include "StringBuilder.h"
+#include "JsonValue.h"
+
+using namespace Microsoft::VisualStudio::CppUnitTestFramework;
+using namespace ArduinoJson::Generator;
+using namespace ArduinoJson::Internals;
+
+namespace JsonGeneratorTests
+{
+ TEST_CLASS(JsonValue_Cast_Tests)
+ {
+ JsonValue value;
+
+ public:
+
+ TEST_METHOD(String)
+ {
+ value = "hello";
+ mustCastTo("hello");
+ }
+
+ private:
+
+ void mustCastTo(const char* expected)
+ {
+ const char* actual = value;
+ Assert::AreEqual(expected, actual);
+ }
+ };
+}
\ No newline at end of file