Added test for showing message when changing priority