Add final newline to command
Add tests for intFloor