Added unit tests for function signature completion