Added cases for String, Enum and Boolean type to regression test for issue 2.