add test option for running tests