Add the ability to run tests

First attempt for a fix astaxie/beegae#10