added some tests and initialize method