added test for clicking column heading + added example and docs