Added tests for Samples