refactored specs and added more checks for cell methods