some failing cases added and fixed