added more specs to check boundary condition