grant_table_index is now an int.
Added a test folder.