Modified the accel.c file.

Also fixed the broken test files.
Merge pull request #17 from shalecraig/update_tests

Yeah, pull request this stuff!