Test the button methods by calling them with no record
Just like we test the getter of Function, we should also test button method.
issue