RUBYAPI-6: fix tests