Test prediction math
Add support for status flags