Test: save DatabaseProfile on destruct