added new test, fix: we need to cast to float to get correct results from ceil/floor