first unit tests for MeterD0

Hello,

see here some first unit tests for MeterD0.
Some things are not really nice and clean yet. But I'd like to get some feedback on whether that should be the way to proceed with unit tests.
Please give some feedback.

Matthias