code clean up for tests and example class. Changed the way of using parameter builder for upload action