unit tests for dps calculations