use testify assertion for testing