changed some tests and copied and pasted code from the simplifying tests video