dm: test: Add a new test case against dm eth codes for NULL pointer access