Add functional test
More clearly test next array value
Extra assertion in case not found where expected
Merge pull request #19 from VSEphpbb/testing

Add functional test