Updated tester and added differentiation