:lipstick: Added test to table class and fixed to bug