add __name__ == '__main__' thingy to karma