psr standard
Update tests + fix
add custom exception