Small unit test fixes

- move prng to unit so cover can use it
- make cover working again temporarily
- Set precision in value display correctly