Hardware in the Loop Test Stand for Battery Management System Validation in Shipboard Controls