Adding new test for completion calculation, fixing equals bug with TaskComponent due to Rectangle2D inheritance.