add unit test for the Stock class