Off-by-one error when parsing with multiple interface definitions.
Added a test checking to ensure multiple interfaces on a single service.
Added a test to ensure a service that implements multiple interfaces works correctly.