Updated test to use new nested hash format