modify template scala source, add test folder