Error if the same view ID is injected twice on the same class.

Resolves #171 
Indentation problems in this test, same as above.