More tests for utils.getAttributes