Added new spec tests for inplace upgrade