Fixed trigger test

resolves #8