Rename of test and move getMessage() to sensor