move display board methods and tests to helper files