add kh test and periodic bcs