fixed periodic pdes
Fixed tests