Updated test.cs

Main method