From my own reading...you have to work atleast 10 out of 13 months before bub is born. And in that time work 330 hours. Work is anything more than an hr at a time, and yes your own bussiness counts if you are using it for financial gain or something.
Look up the 'work test' for ppl. And please let me know if you discover something i didnt =)