test scala deployment

ref: #848