added stock tests