added test Self in class_test, modify CodeBlockFinder.parse_params to accept self_initialize