Add: a genral test java file