Clear selection after context menu test and increase the long press time

Issue #548

This prevents context menu test from interfering with other automation specs.