added test and javaconfig for the framework