Adjusted stock test to account for phantomjs numerical differences on linux vs mac