unit test append/prepend dropdown