add test for extra space feature