Add junit test class to test the SolrIndex class.
Add insert method for SolrIndex.
Figured out to read beans from the configuration file.