Don't crash if using custom table names
Tests for custom table name