finished base test added upgrade test