Test java application for worck with mongodb.