Added unit tests to test_types.py and test_magnum_service.py. Also, lines
containing abstract methods and 'pass' were being counted in the coverage
metrics, so those were added to the coveragerc.
Change-Id: I4af7005453b8f843b640661a972b3f1689ed7dd0
Partial-Bug: #1511667