Using constants for variables and events scope
Parenthesis around assignment in comparison
Correct path to test bootstrap

Tests still need to be written and Kohana (with kohana-test-bootstrap)
to be added as a dev dependency.