Added unit test for setting errors for axes to datasets