read options from config.yml
add more tests