updated tests and added selection box tests