fix getMsPerFrame typo
import constants to fix tests
use obj instead of self in helpers.py