Test for completion
Fix completion with mouse