fixed selection box size
fixing tests
fixed broken unit tests