Make Check protected.
Make Check protected.
Adding tests for the samples.