Added math function specialization for containers' accessors and a test for it