Array with hashes fails if default is set

Two tests added, one fails (the one with defaults) the other one without defaults does not fail.