Switching to test function.