Moved test source code from java folder