cradle test + junit