Fixed fs error
Added tests properly