Adding tests for previous and modified previous