more specific test for get_localshapes