Add a Rmd script for checking the expected behaviour