add pipeline tests
add comments