transferred tests from rails to gem; TODO: add ActiveRecord + data