Added unit test for issue #299

Here's a unit test for this issue. I haven't have a look at the implementation of Array.create yet.