Tests for the swing extensions.