Test custom dimension result has at least three bands (GEOS-6345)

https://jira.codehaus.org/browse/GEOS-6345