test command now unmocks afterwards