Fix the test for ObserverSubject.notify().
Use conditional operator.
Merge pull request #24 from saneyuki/fix

Fix some codes