Updated test file code for compare two stock and for user interface.