Fix test output
Add test for updateByAlias