I do not know of a test.
Post your code and connections/schematic.
Maybe we will be able to see the problem.