adding placeholder for mapcube test functionality
made sure that the as_array function returns a copy, and not just a view in to the data
added in double colon as per code review
added in tests as per review