gpio-keys: Add tests

Signed-off-by: Simon Horman <horms@verge.net.au>