fixed tests with ids table length error