Added a test for final
Code shall be kept without compilation issues. Comments will tell  the purpose whereever applicable