Corrected exception
Removed empty line
Extended test