Manager tests and implementation