fix mock device states
cleanup debug print
Merge pull request #85 from mzanetti/fix-mock-states

fix mock device states