refactor board spec