simplify check test (maybe fix travis)