Added samples unit tests

JUnit and Mockito support; Updated a few samples to be best test sample
candidates