Add GEM distribution and test it.