Making assertions for the asyncSquare function