added refresh button, fixed single-precision tests