Add some more tests for rounding errors

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>
Ceil or floor position properly based on alignment

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>