factoryTest : numberaction fix (out of range error)