Added tests to make sure the class was final and its implemented the right interface.