fixed centertables and added a new test