testTerminals() added

new test added