SWAT test with previous data