Edited tests to fail on bug...
Modified parsing to handle element == Array