Added unit test for reshaping axes metadata