all reference tests now passing