add intensity tests, fix prediction tests