Using Test Driven Development (TDD) practices, complete a partially provided Python 3 solution, being guided by a set of given unit tests. Specifically, you must complete the implementation of a function that calculates the volume discounts for an ecommerce platform, ensuring that the solution passes the provided set of unit tests.