added class test and fixed staticmethoddefinitions :-)