it checks that method total_pins works fine