Testing OOP model for rebooting switch