Add pattern matching in start/0
Fix test suite