Add test to check that the inplace opts are working.