Fixed silly value-switching (issue #11)

Had incorrect registration status in unit tests in previous commit,
causing invalid implementation in modem.py