Removed unused import
Formatted source and added tests for student views