Gem creation
Added tests