Unit tests bonus class