Move between test and java