Test against Active Record master and 4-0-stable branches