adding constant for not nill error
added tests for not nil basic assertion and updated some data providers to be more concise