Create accumulator_tests.py

Tests for the Accumulator class