Added functionality to perform single test and animation