Test 3 written - waiting for Andrew to debug the function.