test position and size changes