add test for onGet by string in attributes