Adding test to address issue #4 (java, csharp)