Improves tests; adds PHPUnit.
Adds test case for occupation.