updated tests to new Hash format