use fixture in tests
Merge pull request #22 from fyruicao/test_fixture

use fixture in tests