Fixes Long conversion error
Added simple test scaffold generation