test all of the different code in basic