Tests and statement tostring fix
Added tests for method body