Implemented Test Mode