add junit for main function (entry point)