moving the testing counter into this library.