implement and test standard path
use scala seq, not java list
refactor test