fix ruby target unit tests