implement acceleration getter
add adxl345 test