Learning to code can be a long process. Luckily, some tests exist to help you work out if programming is for you.