Testing the obvious

One of the worst feeling while programming is feeling to be doing something the wrong way,is likely that this feeling comes from not getting 100% how the tools you are using works under the hood 
 When this happen to me I overcome it by doing something that i call testing the obvious

testing the obvious is the process of testing the behaviour of some code in order to free your mind from doubts and be more secure about your tools

Here an example, testing that fact that dispatch method in redux is actually synchronous.