refactor tests

split board and location tests into own file
add to_s and to_i functions to location