add tests for dropdown