Added checks for valid parameters and add empty lines between test methods