302 two unit tests for cockpit classes