pep8 fixes in test_vector
make auto dismiss of dropdown optional