Fixed final variable initialization on files that have overloaded constructors

Fixed tests also. It is valid kotlin now