adding BadAlgorithmException and EodAlgorithm tests
adding  stock algorithm test