included more negative tests in main methods