adding unit test to truncate the table