Tests

Modified to Test the getting of the rowID and loggings