bump up memory for tests
Reducing memory consumption by pre-sizing array
Fixed bit length issue with test