#58 Had to make a slight modification for running unit test since they run in memory. Now test is detected and java persistence is used over hibernate in that case
#58 Had to mock out a lot more and handle things carefully to build the object to be searched and found
#58 Adding more ChainController tests