Adds primitive main function (Test)