Using the right integer type for the numeric values. Some fixes. Add nerdz-test-db in test_all.sh script as requirement. (Need to be fixed)