covering some edge cases in tests