Prefixed tables with chess_, added constraints and updated code to resolve unit test failures