Writing unit tests; ready to use vector instead of some pointers for potential memory leaks;