Added tests required in step 7.