Feature test for saving total pay