Preparation for Level 2 Certificates

* Fixed Logic to allow more than one certificate per student.
* Added tests for the Certificates Model.