add test of montgomery