Added more tests (for SmartMeter class)