Added test folder and rejects illegal extensions