Made use of boost test framework.