Added negative tests to pthread APIs to improve code coverage. Signed-off-by: Niranjhana N <niranjhana.n@intel.com>