1. Remove the error test cases that trigger assertion. 2. Refine the NULL and invalid kobject parameter test case. 3. Use the common fatal error handler to reduce code. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>