cpb test with rails