Added a test case to verify static classes are not registered.

This closes #56