added more testing for parameters