Fix issue #6 (semaphore max_count).

I removed the assertion about releasing a semaphore more than it's initial value and changed a test to reflect this behaviour.