adding some tests and creating new package