Added tests for samples