test cases are added and social plugins are changed to the java part.