VID-1213 add ab test cases, finish up right rail implementation