Added smoketests for the mvn and gradle builds