Add in peer grading tests to cover linking behavior

Add in more tests to cover linking behavior and other edge use cases.

@brianhw Please review if/when you can.