add gemfile and spec test