fixed end of trick test