ok now works properly with right color

now adding a test for this
ok added test
fix #549