fixed empty bug

first Calculate tests