Added tests to make sure the classes are final and implements the proper interfaces.