Added Tests around the belt calculator

Added tests around BeltCalculator, moved to a model and checking for
window already open