Test changing period