Ported tests from L3

Signed-off-by: und1f <bash88@gmail.com>