Added tests for function parameters
Changed type checking successful message