testing singleton template