added further tests for valid input and valid cell