fix scope of junit and assetj depencencies
BS-8841, add the possiblity of use partial match