Add junit for TaskingmanagerImpl