Add scripted test which exercises the NPE issue in resolving -SNAPSHOTs.