Example code for Adding Logic and Application tests