add test case for altering table